package com.baiyun.bs.service;

import com.baiyun.bs.domain.Notice;

import java.util.List;

/**
 * @author by wzz
 * @implNote 2020/10/20 9:04
 */
public interface NoticeService {
    // 将所有公告设置为历史公告
    String getCurrentNotice();

    List<Notice> getAllNotices(Notice notice);


    void deleteNotice(Long nId);

    void updateNotice(Notice notice);

    void addNotice(Notice notice);

    Notice selectNoticeById(Long nId);
}
